package com.hwd.gmall.common.constant;

/**
 * 购物车管理模块相关的常量类
 *
 * @author 黄伟东/Victor
 * @date 2022/5/6 15:25
 */
public class CartConst {

    /** 购物车商品选中状态 */
    public static final Short IS_CHECKED = 1;

    /** 购物车商品取消选中状态 */
    public static final Short UN_CHECKED = 0;

    /** 网关中把token放到请求头的key */
    public static final String AUTHORIZATION = "Authorization";

    /** 请求头中的token的前缀 */
    public static final String AUTHORIZATION_PREFIX = "bearer ";

    /** 用户名 */
    public static final String USERNAME = "username";
}
